home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C02 / Borland.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  2.2 KB  |  104 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C02
  7. # using the Borland compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Borland.makefile
  11.  
  12. # Note: this requires the upgrade from
  13. # www.Borland.com for successful compilation!
  14. CPP = Bcc32
  15. CPPFLAGS = -w-inl -w-csu -wnak
  16. OFLAG = -e
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     Hello.exe \
  25.     Stream2.exe \
  26.     Concat.exe \
  27.     Numconv.exe \
  28.     Incr.exe \
  29.     Incident.exe \
  30.     HelloStrings.exe \
  31.     Scopy.exe \
  32.     FillString.exe \
  33.     Fillvector.exe \
  34.     GetWords.exe \
  35.     Intvector.exe 
  36.  
  37. test: all 
  38.     Hello.exe  
  39.     Stream2.exe  
  40.     Concat.exe  
  41.     Numconv.exe  
  42.     Incr.exe  
  43.     Incident.exe  
  44.     HelloStrings.exe  
  45.     Scopy.exe  
  46.     FillString.exe  
  47.     Fillvector.exe  
  48.     GetWords.exe  
  49.     Intvector.exe  
  50.  
  51. bugs: 
  52.     @echo No compiler bugs in this directory!
  53.  
  54. Hello.exe: Hello.obj 
  55.     $(CPP) $(OFLAG)Hello.exe Hello.obj 
  56.  
  57. Stream2.exe: Stream2.obj 
  58.     $(CPP) $(OFLAG)Stream2.exe Stream2.obj 
  59.  
  60. Concat.exe: Concat.obj 
  61.     $(CPP) $(OFLAG)Concat.exe Concat.obj 
  62.  
  63. Numconv.exe: Numconv.obj 
  64.     $(CPP) $(OFLAG)Numconv.exe Numconv.obj 
  65.  
  66. Incr.exe: Incr.obj 
  67.     $(CPP) $(OFLAG)Incr.exe Incr.obj 
  68.  
  69. Incident.exe: Incident.obj 
  70.     $(CPP) $(OFLAG)Incident.exe Incident.obj 
  71.  
  72. HelloStrings.exe: HelloStrings.obj 
  73.     $(CPP) $(OFLAG)HelloStrings.exe HelloStrings.obj 
  74.  
  75. Scopy.exe: Scopy.obj 
  76.     $(CPP) $(OFLAG)Scopy.exe Scopy.obj 
  77.  
  78. FillString.exe: FillString.obj 
  79.     $(CPP) $(OFLAG)FillString.exe FillString.obj 
  80.  
  81. Fillvector.exe: Fillvector.obj 
  82.     $(CPP) $(OFLAG)Fillvector.exe Fillvector.obj 
  83.  
  84. GetWords.exe: GetWords.obj 
  85.     $(CPP) $(OFLAG)GetWords.exe GetWords.obj 
  86.  
  87. Intvector.exe: Intvector.obj 
  88.     $(CPP) $(OFLAG)Intvector.exe Intvector.obj 
  89.  
  90.  
  91. Hello.obj: Hello.cpp 
  92. Stream2.obj: Stream2.cpp 
  93. Concat.obj: Concat.cpp 
  94. Numconv.obj: Numconv.cpp 
  95. Incr.obj: Incr.cpp 
  96. Incident.obj: Incident.cpp 
  97. HelloStrings.obj: HelloStrings.cpp 
  98. Scopy.obj: Scopy.cpp 
  99. FillString.obj: FillString.cpp 
  100. Fillvector.obj: Fillvector.cpp 
  101. GetWords.obj: GetWords.cpp 
  102. Intvector.obj: Intvector.cpp 
  103.  
  104.